<template>
  <div class="home">
    <!-- <img alt="Vue logo" src="../assets/logo.png"> -->
    <!-- <HelloWorld msg="Welcome to Your Vue.js App"/> -->
    <PageHeader>
      <template v-slot:left>
        <div>
          <router-link to="">link1</router-link>
          <router-link to="">link1</router-link>
          <router-link to="">link1</router-link>
        </div>
      </template>
      <template v-slot:right>
        <div class="a1">
          <router-link to="">登录</router-link>
          <router-link to="">注册</router-link>
          <button style="width:30px">我的购物车</button>
        </div>
      </template>
    </PageHeader>
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from "@/components/HelloWorld.vue";
import PageHeader from "@/components/PageHeader.vue";

export default {
  name: "Home",
  components: {
    HelloWorld,
    PageHeader,
  },
};
</script>

<style lang="scss">
.a1{
  background-color: skyblue;
}
</style>
